package com.payment.mapper;

import com.payment.entity.Office;
import com.payment.entity.OfficeWithDoctorDTO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface OfficeMapper {
    List<OfficeWithDoctorDTO>getOfficeWithDoctor();
    List<Office> getAll();
    Office getById(int id);
    int add(Office entity);
    int update(Office entity);
    int del(int id);
}